package com.wchen.dubbo;

import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * ${DESCRIPTION}.
 * User: wwchen
 * DateTime: 2017/11/26 10:27
 * 注意Service是dubbo的注解，不是spring的Service
 */
@Service
@Transactional
public class DubboProviderService implements IDubboProvider {

    @Override
    public String sayHello(String name) {
        return "生产者";
    }
}
